/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.program4.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.program4.api.impl.TimeoutImpl;
import za.ac.cput.program4.api.Timeout;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppTimeConfig
{
    @Bean(name="time")
    public Timeout TOut()
    {
        return new TimeoutImpl();
    }
}
